home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 742 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How to listen to a port < 1024
  5. Date: Mon, 08 Jan 96 22:58:00 GMT
  6. Organization: none
  7. Message-ID: <821141880snz@genesis.demon.co.uk>
  8. References: <brianrDKvJAx.MzG@netcom.com>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <brianrDKvJAx.MzG@netcom.com> brianr@netcom.com "Brian Rankin" writes:
  15.  
  16. >I have a program that listens to a port on an IP address.  I'd like it
  17. >to listen to port 80, but don't know how to make this happen (I understand
  18. >that ports < 1024 are somehow "restricted"...).  What's the proper way to
  19. >make this work?  Sorry if I'm posting to the incorrect newsgroup..
  20.  
  21. IP/socket programming is not defined by the C language. The way you do this
  22. is governed very much by the system you are programming on. Post to a
  23. newsgroup relevant to your particular system e.g. comp.unix.programmer for
  24. Unix systems.
  25.  
  26. --
  27. -----------------------------------------
  28. Lawrence Kirby | fred@genesis.demon.co.uk
  29. Wilts, England | 70734.126@compuserve.com
  30. -----------------------------------------
  31.